
var str = "hello , i am moyu , my website is http://47.100.42.191/personal/index.html,my phone is 15234492364,my friend is tom,his phone is 18735830777, his website is http://47.23.42.50/personal/index.html";

var pattern = /1[3|5|7|8]\d{9}/g;
console.log(pattern.exec(str));
console.log(Array.isArray(pattern.exec(str)));
console.log(pattern.exec(str));
console.log(pattern.exec(str));
console.log(pattern.test(str));
console.log(pattern.lastIndex);

console.log(pattern.test(str));
console.log(pattern.lastIndex);

console.log(pattern.test(str));

